package com.qinhai.webcs.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName ProductCategoryVO
 * @Deacription
 * @Author qinhai
 * @Date 2021/4/11 19:41
 * @Version 1.0
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductCategoryVO {

    private Integer id;
    private String name;
    private String topImg;
    private List<ProductVO> productVOList;


    public ProductCategoryVO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public ProductCategoryVO(Integer id, String name, String topImg) {
        this.id = id;
        this.name = name;
        this.topImg = topImg;
    }
}
